package com.anyisn.anyflickr.shell.model
{
	import org.puremvc.as3.multicore.patterns.proxy.Proxy;
	
	public class SettingsProxy extends Proxy
	{
		public static const NAME:String = 'SettingsProxy';
		
		public function SettingsProxy(data:XMLList)
		{
			super(NAME, data);
		}
		
		public function get tilePerpage():uint {
			return data.Photos.List.@perpage;
		}
		
		public function set tilePerpage(value:uint):void {
			data.Photos.List.@perpage = value;
		}
		
		public function get slidePerpage():uint {
			return data.Photos.Slide.@perpage;
		}
		
		public function set slidePerpage(value:uint):void {
			data.Photos.Slide.@perpage = value;
		}
		
		public function get slideDelay():uint {
			return data.Photos.Slide.@delay;
		}
		
		public function set slideDelay(value:uint):void {
			data.Photos.Slide.@delay = value;
		}
		
		public function get singleDownloadPath():String {
			return data.Photo.Download.Single.@path;
		}
		
		public function set singleDownloadPath(value:String):void {
			data.Photo.Download.Single.@path = value;
		}
		
		public function get batchDownloadPath():String {
			return data.Photo.Download.Batch.@path;
		}
		
		public function set batchDownloadPath(value:String):void {
			data.Photo.Download.Batch.@path = value;
		}
	}
}